/**
 * @author alonsocucei
 * @version 1.0
 */
package modulo1.util;

public class Action {
    private String title;
    
    /**
     * Constructs a new <code>Action</code> with a title.
     * 
     * @param title the name for this action
     */
    public Action(String title) {
        this.title = title;
    }
    
    /**
     * Returns this action's title
     * @return the title for this action as a String or null if doesn't have one.
     */
    public String getTitle() {
        return title;
    }
    
    /**
     * Executes a specific task for this action.
     * This method must be override in order to work.
     */
    public void doAction() {
        
    }
}